package com.java.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;


@Controller
public class ControllerDemo {
    @Autowired
    private SericeDemo sericeDemo;

    public UserDemo getUser() {
        return sericeDemo.getUser();
    }
}
